import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { MatButtonModule } from '@angular/material/button';
import { MatChipsModule } from '@angular/material/chips';
import { MatRippleModule } from '@angular/material/core';
import { MatExpansionModule } from '@angular/material/expansion';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatSelectModule } from '@angular/material/select';
import { MatSnackBarModule } from '@angular/material/snack-bar';
import { MatSortModule } from '@angular/material/sort';
import { MatTableModule } from '@angular/material/table';
import { MatTabsModule } from '@angular/material/tabs';
import { NgxChartsModule } from '@swimlane/ngx-charts';

import { BaseSharedModule } from '@base/shared.module';
import { BaseWidgetModule } from '@base/components/widget/widget.module';



import {BreadcrumbModule} from '../../../../../@base/components';


import {UsersComponent} from './users.component';
import {UsersService} from './users.service';


const routes: Routes = [
    {
        path     : 'basic/permissions/users',
        component: UsersComponent,
        resolve  : {
            data: UsersService
        }
    }
];

@NgModule({
    declarations: [
        UsersComponent
    ],
    imports: [
        RouterModule.forChild(routes),

        BreadcrumbModule,
        MatButtonModule,
        MatRippleModule,
        MatExpansionModule,
        MatFormFieldModule,
        MatInputModule,
        MatSelectModule,
        MatSnackBarModule,
        MatTabsModule,
        NgxChartsModule,
        BaseWidgetModule,
        MatChipsModule,
        MatIconModule,
        BaseSharedModule,
        MatTableModule,
        MatPaginatorModule,
        MatSortModule
    ],
    providers: [
        UsersService
    ]
})
export class UsersModule
{
}
